package com.lqwu.manymanythumb.service;

import com.lqwu.manymanythumb.model.entry.Blog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lqwu.manymanythumb.model.vo.BlogVo;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

/**
* @author 伍立权
* @description 针对表【blog】的数据库操作Service
* @createDate 2025-05-18 23:46:31
*/
public interface BlogService extends IService<Blog> {
    /**
     * 获取博客详情
     * @param blogId
     * @param request
     * @return
     */
    BlogVo getBlogVoById(Long blogId, HttpServletRequest request);

    /**
     * 获取博客列表
     * @param blogList
     * @param request
     * @return
     */
    List<BlogVo> getBlogVoList(List<Blog> blogList,HttpServletRequest request);
}
